<!-- 全屏展示模块 -->
<template>
    <el-tooltip content="全屏展示" placement="bottom">
        <svg-icon name="full_screen" v-if="!isFullscreen" @click="fullScreen"></svg-icon>
        <svg-icon name="xiaoping" v-else @click="fullScreen"></svg-icon>
    </el-tooltip>
</template>
<script lang='ts' setup>
import { useFullscreen } from '@vueuse/core';


const { isFullscreen, toggle } = useFullscreen();
const fullScreen = () => {
    // isFullscreen 判断是否全屏
    toggle()
}
</script>
<style scoped></style>